org.eclipse.vtp.desktop.views.pallet
Class Pallet

java.lang.Object
  extended by org.eclipse.vtp.desktop.views.pallet.Pallet

public class Pallet
extends java.lang.Object


Constructor Summary
Pallet()
          Creates a new Pallet.
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
          Creates the control used for this pallet.
 void destroy()
          Disposes this pallet.
 org.eclipse.swt.widgets.Control getControl()
          Returns the control used for this pallet.
 void setContainer(org.eclipse.core.runtime.IAdaptable container)
          Sets the container this pallet is mapped to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pallet

public Pallet()
Creates a new Pallet.

Method Detail

setContainer

public void setContainer(org.eclipse.core.runtime.IAdaptable container)
Sets the container this pallet is mapped to.

Parameters:
container - The container this pallet is mapped to.

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)
Creates the control used for this pallet.

Parameters:
parent - The parent element that contains this pallet.

getControl

public org.eclipse.swt.widgets.Control getControl()
Returns the control used for this pallet.

Returns:
The control used for this pallet.

destroy

public void destroy()
Disposes this pallet.